package com.juneng.mapper;

import com.juneng.entity.CommentDiscuss;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.juneng.dto.CommentDiscussQueryDto;
import com.juneng.vo.CommentDiscussVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
 * 话题评论 Mapper 接口
 *
 * @author zds
 * @since 2021-07-28
 */
public interface CommentDiscussMapper extends BaseMapper<CommentDiscuss> {
        IPage<CommentDiscussVo> page(IPage page, @Param("dto")CommentDiscussQueryDto dto);

        CommentDiscussVo getCommentDiscuss(Long id);
}
